import java.io.*;


public class Warehouse 
{
	Vector l=new Vector();
	public void addProducts() throws IOException
	{
		l.addProducts();
	}
	public void eraseProduct() throws NumberFormatException, IOException
	{
		l.eraseProduct();
	}
	public void showProduct()
	{
		l.showProduct();
	}
	public static void main(String arg[]) throws NumberFormatException, IOException
	{
		int op;
		Warehouse dep=new Warehouse();
		BufferedReader keypad=new BufferedReader(new InputStreamReader(System.in));
		do
		{
		System.out.println("COMMERCIAL DEPOSIT PRODUCTS MENU\n");
		System.out.println("1.Add product");
		System.out.println("2.Erase product");
		System.out.println("3.Show the inventory");
		System.out.print("Please type your option from above:");
		op=Integer.parseInt(keypad.readLine()); 
		switch(op)
		{
		case 1:
			dep.addProducts();
			break;
		case 2:
			dep.eraseProduct();
			break;
		case 3:
			dep.showProduct();
			break;
		default:System.out.println("Error, incorrect option !");
				break;
		}
		}while(op!=4);
	}
	
}
